<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script>
<script type="text/javascript">
	$(function(){
		$.getJSON('/printOrder', function(data){
			$("#EBusinessID").val(data.EBusinessID)
			$("#RequestData").val(data.RequestData)
			$("#IsPreview").val(data.IsPreview)
			$("#DataSign").val(data.DataSign)
			//form1.submit()
		})
	});
</script>
</head>
<body>
	<h1>Demo</h1>
	<div id="head"></div>
	<form id="form1" action="http://www.kdniao.com/External/PrintOrder.aspx" method="post" target="_self">
		<div style="">
			<div><input type="text" id="RequestData" name="RequestData" /></div>
			<div><input type="text" id="EBusinessID" name="EBusinessID" /></div>
			<div><input type="text" id="DataSign" name="DataSign" /></div>
			<div><input type="text" id="IsPreview" name="IsPreview" /></div>
			
						  <div>
            <button type="submit">提交表单</button>
            <!-- 或者使用以下方式 -->
            <!-- <input type="submit" value="提交表单" /> -->
        </div>
		</div>
	</form>
</body>
</html>